<template>
    <UserInfo @to-path="handleToPath" />
</template>

<script setup lang="ts">
import UserInfo from '@/components/userInfo/index.vue'
import { useRouter } from 'vue-router'

const router = useRouter()

const handleToPath = (name: string) => {
    router.push(`/memorialManage/${name}`)
}
</script>